package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;

import java.util.Date;

//商家、服务内容、商家服务记录的关联表
public class RTbMerchantServiceRecord {
    private static final long serialVersionUID = 1L;

    @Excel(name = "创建者")
    private String createBy;

    @Excel(name = "创建时间")
    private Date createTime;

    @Excel(name = "更新者")
    private String updateBy;

    @Excel(name = "更新时间")
    private Date updateTime;

    private Long infoId;

    /** 记录ID */
    private Long recordId;

    /** 商家id */
    @Excel(name = "商家id")
    private Long merchantId;

    /** 服务id */
    @Excel(name = "服务id")
    private Long serviceId;

    /** 到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expirationTime;

    /** 删除标识（0表示存在，2表示删除） */
    @Excel(name = "删除标识", readConverterExp = "0=表示存在，2表示删除")
    private String delFlag;

    /** 服务内容 */
    @Excel(name = "服务内容")
    private String serviceContent;

    /** 单个服务的价格 */
    @Excel(name = "单个服务的价格")
    private Long servicePrice;

    /** 商家名称（商铺名） */
    @Excel(name = "商家名称", readConverterExp = "商=铺名")
    private String merchantName;

    /** 商家手机号 */
    @Excel(name = "商家手机号")
    private String phone;

    /** 商家微信号 */
    @Excel(name = "商家微信号")
    private String wxAccount;

    /** 商家营业执照照片 */
    @Excel(name = "商家营业执照照片")
    private String licensePhoto;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 服务状态ID */
    @Excel(name = "服务状态ID")
    private Integer serviceStatusId;

    /** 商家身份证号 */
    @Excel(name = "商家身份证号")
    private String idcard;

    /** 小程序模板id */
    private Integer templateId;

    /** 是否独立数据库（0否，1是，默认为0） */
    private String isSingleDatabase;

    /** 数据库id */
    private Integer databaseId;

    /** 审核状态（0未通过，1通过） */
    @Excel(name = "审核状态", readConverterExp = "0=未通过，1通过")
    private Integer isPassing;

    /** 登录的启用禁用（0正常，1禁用） */
    @Excel(name = "登录的启用禁用", readConverterExp = "0=正常，1禁用")
    private Integer status;

    public Long getInfoId() {
        return infoId;
    }

    public void setInfoId(Long infoId) {
        this.infoId = infoId;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Long getServiceId() {
        return serviceId;
    }

    public void setServiceId(Long serviceId) {
        this.serviceId = serviceId;
    }

    public Date getExpirationTime() {
        return expirationTime;
    }

    public void setExpirationTime(Date expirationTime) {
        this.expirationTime = expirationTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getServiceContent() {
        return serviceContent;
    }

    public void setServiceContent(String serviceContent) {
        this.serviceContent = serviceContent;
    }

    public Long getServicePrice() {
        return servicePrice;
    }

    public void setServicePrice(Long servicePrice) {
        this.servicePrice = servicePrice;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getWxAccount() {
        return wxAccount;
    }

    public void setWxAccount(String wxAccount) {
        this.wxAccount = wxAccount;
    }

    public String getLicensePhoto() {
        return licensePhoto;
    }

    public void setLicensePhoto(String licensePhoto) {
        this.licensePhoto = licensePhoto;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public Integer getServiceStatusId() {
        return serviceStatusId;
    }

    public void setServiceStatusId(Integer serviceStatusId) {
        this.serviceStatusId = serviceStatusId;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public Integer getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Integer templateId) {
        this.templateId = templateId;
    }

    public String getIsSingleDatabase() {
        return isSingleDatabase;
    }

    public void setIsSingleDatabase(String isSingleDatabase) {
        this.isSingleDatabase = isSingleDatabase;
    }

    public Integer getDatabaseId() {
        return databaseId;
    }

    public void setDatabaseId(Integer databaseId) {
        this.databaseId = databaseId;
    }

    public Integer getIsPassing() {
        return isPassing;
    }

    public void setIsPassing(Integer isPassing) {
        this.isPassing = isPassing;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
